home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c++
- Path: freenet.toronto.on.ca!bh332
- From: bh332@freenet.toronto.on.ca (Karim Ladha)
- Subject: [Q]Dereference within class - Possible?
- Message-ID: <Do566t.F1H.0.queen@torfree.net>
- Sender: bh332@torfree.net (Karim Ladha)
- Reply-To: bh332@freenet.toronto.on.ca (Karim Ladha)
- Organization: Toronto Free-Net Inc., Toronto, Ontario, Canada
- Date: Tue, 12 Mar 1996 06:32:52 GMT
-
-
-
- Greetings,
-
- In normal C style, one can code the following example(C++ compiler);
-
- int main() {
- int x = 1;
- int &x1 = x;
-
- ...
- ...
- }
-
- Is it also possible to use the same syntax within a class without intializing
- the referencer? Any information will be appreciated...
-
-
- Thank you,
- Karim A.Ladha
- -- BH332@TorFree.Net
- --
-
-